import request from '@/config/request.js';

// 获取颜色尺码
export const getSizeAndColor = params => request.get('/iot-mobile-api/inspection/getSizeAndColor', params)

// 获取瑕疵点类型
export const getDefectiveSpotList = params => request.get('/iot-mobile-api/inspection/getDefectiveSpotList', params)
export const getDefectiveSpotTree = params => request.get('/iot-mobile-api/inspection/defectiveSpotTree', params)

// defectiveSpotTree
// 获取问题工序内容
export const getProductionDetailList = params => request.get('/iot-mobile-api/inspection/getProductionDetailList', params)

// 保存产量登记信息
export const saveRegistrationLog = params => request.post('/iot-mobile-api/inspection/saveRegistrationLog', params)